package com.cskaoyan.mall.service;

import com.cskaoyan.mall.bean.bo.GoodsCreateBO;
import com.cskaoyan.mall.bean.bo.GoodsUpdateBO;
import com.cskaoyan.mall.bean.vo.GoodsDetailVO;
import com.cskaoyan.mall.bean.vo.GoodsItemsVO;
import com.cskaoyan.mall.bean.vo.GoodsListVO;

/**
 * Created by Zsp
 * 2021/1/9
 */
public interface GoodsService {
    Integer getGoodsTotal();

    GoodsListVO getGoodsList(Integer page, Integer limit,String goodsSn, String name, String sort, String order);

    int deleteGoods(GoodsItemsVO goodsItemsVO);

    GoodsDetailVO getGoodsDetail(Integer id);

  int updateGoods(GoodsUpdateBO goodsUpdateBO);

  int insertGoods(GoodsCreateBO goodsCreateBO);
}
